/**
 * Created by ren on 17-4-28.
 */
var express = require('express');
var router = express.Router();
var multiparty = require('multiparty');

router.get('/', function(req, res, next) {
    req.session.userinfo = {username:123,role:1};
    res.write(JSON.stringify({
        title: 'title'
    }));
    res.end();
});

module.exports = router;